package com.lab.project.classroom.service;

import com.lab.project.classroom.domain.SchoolClassroomEntity;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 黄晏凯
 */
public interface ISchoolClassroomService {
    /**
     *添加教室
     * @param schoolClassroomEntity
     * @return
     */
    Integer addClassroom(SchoolClassroomEntity schoolClassroomEntity);

    /**
     * 查询教室
     * @param schoolClassroomEntity
     * @return
     */
    List<SchoolClassroomEntity> listClassroom(SchoolClassroomEntity schoolClassroomEntity);

    /**
     *通过id查询教室
     * @param id
     * @return
     */
    SchoolClassroomEntity getSchoolClassroomInfoById(Long id);

    /**
     * 修改教室信息
     * @param schoolClassroomEntity
     * @return
     */
    Integer updateSchoolClassroom(SchoolClassroomEntity schoolClassroomEntity);

    /**
     * 删除教室
     * @param ids
     * @return
     */
    int deleteSchoolClassroomByIds(Long[] ids);
}
